/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package com.xy.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xy.entity.ExhibitionEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 展会表 视图实体类
 *
 * @author BladeX
 * @since 2023-07-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ExhibitionVO extends ExhibitionEntity {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "创建人")
	private String  createUserName;
	@ApiModelProperty(value = "修改人")
	private String updateUserName;

	@ApiModelProperty(value = "票证数量")
	@JsonSerialize(
		using = ToStringSerializer.class
	)
	private Long viewerNum;
	@ApiModelProperty(value = "门禁点数量")
	private Long positionNum;
	@ApiModelProperty(value = "紧急联系人数量")
	private Long pressingNum;
}
